package com.multicert.hackathon;

import java.net.URL;

import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugins.annotations.Parameter;

import com.multicert.hackathon.blmanager.BaselineManager;

//import org.apache.maven.repository.* settings.Settings;

/**
 * @author rui.baeta@multicert.com
 */
public abstract class AbstractBaselineMojo extends AbstractMojo {

    private BaselineManager baselineManager;

    /**
     * The project space identifier in Alfresco.
     * Use the link 'Alfresco Node Reference', in the links section of the details page.
     */
    @Parameter(property = "projectId", required = true)
    protected String projectId;

    /**
     * Base Alfresco URL for the rest webservice of the Messias.
     * Ex: http://192.168.138.129:9090/alfresco/service/messias
     */
    @Parameter(property = "alfrescoUrl", required = true)
    protected URL alfrescoUrl;

    /**
     * Authentication in Alfresco: username
     */
    @Parameter(property = "username", required = true)
    protected String username;

    /**
     * Authentication in Alfresco: password
     */
    @Parameter(property = "password", required = true)
    protected String password;

    public BaselineManager getBaselineManager() {
        return baselineManager;
    }

    public void setBaselineManager(BaselineManager baselineManager) {
        this.baselineManager = baselineManager;
    }
}
